﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using dotnetCHARTING.WinForms;
using Processing001.Library.Interfaces;

namespace Processing001.Library.AbstractClasses
{
    public abstract class SolutionAbstract<T1, T2> : WorkerAbstract
    {
        protected const int DEFAULT_SIZE = 256;
        protected int size = DEFAULT_SIZE;
        protected List<T1> output;
        protected List<T1> input;
        protected static List<T1> values = new List<T1>();
        protected List<T1> generatedValues;
        protected Dictionary<T2, Chart> graphics;

        public static List<T1> Values
        {
            get { return values; }
            set { values = value; }
        }

        public Dictionary<T2, Chart> Graphics
        {
            get { return graphics; }
            set { graphics = value; }
        }
    }
}
